package com.gtfrank.web.servlet.dao;

import com.gtfrank.web.servlet.pojo.User;

import java.util.List;

public interface IUserDao {
    User findUserByNameAndPassword(String name, String password);
    void addUser(User user);
    List<User> findAll();
    void deleteUser(int id);
    User findById(int id);
    void updateUser(User user);
    User findByName(String name);
    List<User> findByLikeName(String name);
}

